package com.pm.mapper.negative;

import com.pm.entity.po.negative.NegativeSource;
import com.pm.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NegativeSourceMapper extends BaseMapper<NegativeSource> {
    List<NegativeSource> selectAllDepartment(Integer id);

    Boolean deleteSource(Integer id);

    Boolean updateSource(@Param("negativeSource") NegativeSource negativeSource);

    Integer addSource(@Param("negativeSource") NegativeSource negativeSource);

    NegativeSource getSourceId(Integer id);
}